/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejercicios;

/**
 *
 * @author zpiik3
 */
public class FloatDobleStringEntero {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String x="555"
    ;int i= Integer.parseInt(x);
    Double d=new Double(i);
    Byte b=new Byte(d.byteValue());
    Float f=new Float(b.floatValue());
    Integer e=new Integer(f.intValue());
    Short s=new Short(e.shortValue());
    Long l= new Long(s.longValue());
    System.out.println("int"+i);
    System.out.println("double"+d);
    System.out.println("Byte"+b);
    System.out.println("Float"+f);
    System.out.println("Integer"+e);
    System.out.println("Short"+s);
    System.out.println("Long"+l);
    boolean h=Boolean.parseBoolean(l.toString());
    System.out.println("Boolean"+h);
    }
}